import request from '@/utils/request'//引入ajax
const api_name = '/admin/video'
//查询全部 
export const findVideo = () => {
    return request({
        url: `${api_name}/findVideo`,
        method: 'get'
    })
}
//添加视频 
export const addVideo = (videos) => {
    return request({
        url: `${api_name}/addVideo`,
        method: 'post',
        data:videos
    })
}